home *** CD-ROM | disk | FTP | other *** search
- #if !defined(AFX_RTMETERX_H__6182BB37_8033_11D1_A956_00C0F6A06F60__INCLUDED_)
- #define AFX_RTMETERX_H__6182BB37_8033_11D1_A956_00C0F6A06F60__INCLUDED_
-
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
- /////////////////////////////////////////////////////////////////////////////
- // CRTMETERX wrapper class
-
- class CRTMETERX : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CRTMETERX)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x1ba6e86, 0xdc1a, 0x11d0, { 0xa9, 0x56, 0x0, 0xc0, 0xf6, 0xa0, 0x6f, 0x60 } };
- return clsid;
- }
- virtual BOOL Create(LPCTSTR lpszClassName,
- LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect,
- CWnd* pParentWnd, UINT nID,
- CCreateContext* pContext = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
-
- BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect, CWnd* pParentWnd, UINT nID,
- CFile* pPersist = NULL, BOOL bStorage = FALSE,
- BSTR bstrLicKey = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- pPersist, bStorage, bstrLicKey); }
-
- // Attributes
- public:
- long GetWindowBackgroundColor();
- void SetWindowBackgroundColor(long);
- long GetWindowBorderColor();
- void SetWindowBorderColor(long);
- long GetPlotBackgroundColor();
- void SetPlotBackgroundColor(long);
- long GetWindowBorderStyle();
- void SetWindowBorderStyle(long);
- long GetWindowResizeMode();
- void SetWindowResizeMode(long);
- long GetWindowBorderThickness();
- void SetWindowBorderThickness(long);
- long GetMeterType();
- void SetMeterType(long);
- long GetMeterNeedleStyle();
- void SetMeterNeedleStyle(long);
- BOOL GetMeterDynTextEnable();
- void SetMeterDynTextEnable(BOOL);
- BOOL GetMeterArcEnable();
- void SetMeterArcEnable(BOOL);
- double GetMeterCenterX();
- void SetMeterCenterX(double);
- double GetMeterCenterY();
- void SetMeterCenterY(double);
- long GetMeterDynTextPrecision();
- void SetMeterDynTextPrecision(long);
- double GetMeterDiameter();
- void SetMeterDiameter(double);
- long GetMeterNumChannels();
- void SetMeterNumChannels(long);
- long GetMeterStartArc();
- void SetMeterStartArc(long);
- long GetMeterStopArc();
- void SetMeterStopArc(long);
- long GetMeterLowAlarmColor();
- void SetMeterLowAlarmColor(long);
- long GetMeterHighAlarmColor();
- void SetMeterHighAlarmColor(long);
- BOOL GetMeterAlarmArcsEnable();
- void SetMeterAlarmArcsEnable(BOOL);
- double GetMeterAlarmArcThickness();
- void SetMeterAlarmArcThickness(double);
- double GetMeterHighAlarmStart();
- void SetMeterHighAlarmStart(double);
- double GetMeterHighAlarmStop();
- void SetMeterHighAlarmStop(double);
- double GetMeterLowAlarmStart();
- void SetMeterLowAlarmStart(double);
- double GetMeterLowAlarmStop();
- void SetMeterLowAlarmStop(double);
- long GetMeterTickPosition();
- void SetMeterTickPosition(long);
- long GetMeterTickLabelsPosition();
- void SetMeterTickLabelsPosition(long);
- long GetMeterTickLabelsColor();
- void SetMeterTickLabelsColor(long);
- long GetMeterTickLabelsSize();
- void SetMeterTickLabelsSize(long);
- long GetMeterTickLabelsFontStyle();
- void SetMeterTickLabelsFontStyle(long);
- CString GetMeterTickLabelsFont();
- void SetMeterTickLabelsFont(LPCTSTR);
- long GetMeterLineColor();
- void SetMeterLineColor(long);
- CString GetMeterUnitsString();
- void SetMeterUnitsString(LPCTSTR);
- BOOL GetMeterUnitsStringEnable();
- void SetMeterUnitsStringEnable(BOOL);
- long GetMeterLineThickness();
- void SetMeterLineThickness(long);
- long GetMeterMinorTicks();
- void SetMeterMinorTicks(long);
- double GetMeterScaleMin();
- void SetMeterScaleMin(double);
- double GetMeterScaleMax();
- void SetMeterScaleMax(double);
- long GetMeterTickLabelsPrecision();
- void SetMeterTickLabelsPrecision(long);
- double GetMeterTickRelLength();
- void SetMeterTickRelLength(double);
- double GetMeterTickStep();
- void SetMeterTickStep(double);
- long GetMeterNormalAlarmColor();
- void SetMeterNormalAlarmColor(long);
- double GetMeterValueArcThickness();
- void SetMeterValueArcThickness(double);
- double GetMeterScaleCenter();
- void SetMeterScaleCenter(double);
- long GetMeterBorderColor();
- void SetMeterBorderColor(long);
- long GetMeterBorderThickness();
- void SetMeterBorderThickness(long);
- long GetMeterBorderStyle();
- void SetMeterBorderStyle(long);
- double GetMeterInitialValue();
- void SetMeterInitialValue(double);
- BOOL GetEnableInternalTimer();
- void SetEnableInternalTimer(BOOL);
- double GetTimerFrequency();
- void SetTimerFrequency(double);
- double GetMeterBorderHeight();
- void SetMeterBorderHeight(double);
- double GetMeterBorderWidth();
- void SetMeterBorderWidth(double);
- BOOL GetSDataSimulationMode();
- void SetSDataSimulationMode(BOOL);
-
- // Operations
- public:
- CString GetTitleString(long title);
- void SetTitleString(long title, LPCTSTR lpszNewValue);
- CString GetTitleFont(long title);
- void SetTitleFont(long title, LPCTSTR lpszNewValue);
- long GetTitleColor(long title);
- void SetTitleColor(long title, long nNewValue);
- long GetTitleFontStyle(long title);
- void SetTitleFontStyle(long title, long nNewValue);
- long GetTitleFontSize(long title);
- void SetTitleFontSize(long title, long nNewValue);
- long GetMeterChannelColor(long channel);
- void SetMeterChannelColor(long channel, long nNewValue);
- void UpdateDataValue(long nIndex, double rDataValue, BOOL bUpdate);
- void UpdateMeter();
- CString GetMeterChannelTagName(long nChannel);
- void SetMeterChannelTagName(long nChannel, LPCTSTR lpszNewValue);
- BOOL SerializeLoadFile(LPCTSTR sFilename);
- BOOL SerializeSaveFile(LPCTSTR sFilename);
- void UpdateGraph();
- void UpdateDynData(double* rNewValues);
- BOOL SavePageMeta(long mftype, LPCTSTR sFilename);
- BOOL CopyToClipboard();
- void AboutBox();
- };
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_RTMETERX_H__6182BB37_8033_11D1_A956_00C0F6A06F60__INCLUDED_)
-